import { lazy } from "react";

import Home from "@/pages/home";
const Test = lazy(() => import("@/pages/test"));

const routes = [
  {
    path: "/",
    element: <Home />,
  },
  {
    path: "/test",
    element: <Test />,
    shouldReload: false, // 是否进行页面缓存
  },
];

export default routes;
